<div class="sidebar" id="sidebar">
   

    <ul class="nav nav-list">
     

        <li class="active">
            <a href="#" class="dropdown-toggle">
                <i class="icon-dashboard"></i>
                <span class="menu-text"> 直播管理 </span>

                <b class="arrow icon-angle-down"></b>
            </a>

            <ul class="submenu">
                <li>
                    <a href="{{__ROOT__}}/admin/device">
                        <i class="icon-double-angle-right"></i>
                        设备列表
                    </a>
                </li>

                <li>
                    <a href="{{__ROOT__}}/admin/device/add">
                        <i class="icon-double-angle-right"></i>
                        增加设备
                    </a>
                </li>


            </ul>
        </li>

        <li  class="active">
                <a href="#" class="dropdown-toggle">
                    <i class="icon-user-md"></i>
                    <span class="menu-text"> 统计 </span>

                    <b class="arrow icon-angle-down"></b>
                </a>

                <ul class="submenu">
                    <li>
                        <a href="{{__ROOT__}}/admin/log/clientlog">
                            <i class="icon-double-angle-right"></i>
                            访客统计
                        </a>
                    </li>

                    <li>
                        <a href="{{__ROOT__}}/admin/log/streamLog">
                            <i class="icon-double-angle-right"></i>
                            直播流统计
                        </a>
                    </li>

                </ul>
            </li>
        
        {{if G.superAdmin}}
                <li  class="active">
                    <a href="#" class="dropdown-toggle">
                        <i class="icon-user-md"></i>
                        <span class="menu-text"> 管理员管理 </span>

                        <b class="arrow icon-angle-down"></b>
                    </a>

                    <ul class="submenu">
                        <li>
                            <a href="{{__ROOT__}}/admin/manage">
                                <i class="icon-double-angle-right"></i>
                                用户列表
                            </a>
                        </li>

                        <li>
                            <a href="{{__ROOT__}}/admin/manage/add">
                                <i class="icon-double-angle-right"></i>
                                增加用户
                            </a>
                        </li>

                        <li>
                            <a href="{{__ROOT__}}/admin/manage/midden">
                                <i class="icon-double-angle-right"></i>
                                已禁用用户列表
                            </a>
                        </li>


                    </ul>
                </li>                

            {{/if}}
    </ul><!-- /.nav-list -->
   
</div>
